<template>
    <div>Home<br/>
        <input type="text">
    </div>
</template>

<script>
export default {
    mounted() {
        console.log('使用了keep-alive')
    }
}
</script>